home *** CD-ROM | disk | FTP | other *** search
- ; NeoDesk 3.03 Patch script. Copyright 1993, Gribnif Software.
- source Master Disk
- dest Extras Disk
- sundo
- echo NeoDesk 3.03 Patch Program||This program does three things:|^
- 1. Rearrange files on the disks|^
- 2. Run the actual patch program|^
- 3. Copy the newly patched files|^
- This program will only patch NeoDesk 3.02,|^
- it will not work on other versions.||^
- Press Return to continue...
- ask Continue
- askend
- echo Before beginning, PLEASE make a backup copy|^
- of both of your NeoDesk 3.02 disks. This way, if an|^
- error occurs, you will have something to go back to.||^
- Please also make sure write-protect|tabs are off for all disks.||^
- Press Return to continue...
- ask Continue
- askend
- echo Please select the disk drives to use during the|^
- preparation portion of the patch procedure.||^
- The Source drive will contain the NeoDesk Master Disk.|^
- The Destination drive will contain the Extras Disk.|^
- (Both drives will be A: if you |^
- only have one floppy disk drive.)||^
- Press Return to continue...
- ask Continue
- askend
- maxdrive B
- dtitle NeoDesk 3.03 Patch
- askdrive
- untilex %sdrive:\neodesk3\neodesk.exe Master Disk
- ifex %sdrive:\register.prg
- echo It looks like this disk has not been registered.|^
- Run REGISTER.PRG now?
- ask Yes|No
- button1
- gem %sdrive:\register.prg
- askend
- ifend
- ifex %sdrive:\acc
- copy \ACC\NEOCNTRL.ACC \ACC\NEOCNTRL.ACC
- copy \ACC\NEOCNTRL.RSC \ACC\NEOCNTRL.RSC
- copy \ACC\NEOQUEUE.ACC \ACC\NEOQUEUE.ACC
- copy \ACC\NEOQ_C.RSC \ACC\NEOQ_C.RSC
- copy \ACC\NEOQ_M.RSC \ACC\NEOQ_M.RSC
- flush
- untilex %sdrive:\neodesk3\neodesk.exe Master Disk
- sstatmsg Modifying
- sdisknam Master Disk
- rm %sdrive:\ACC\NEOCNTRL.ACC
- rm %sdrive:\ACC\NEOCNTRL.RSC
- rm %sdrive:\ACC\NEOQUEUE.ACC
- rm %sdrive:\ACC\NEOQ_C.RSC
- rm %sdrive:\ACC\NEOQ_M.RSC
- rmdir %sdrive:\ACC
- sstatmsg
- sdisknam
- ifend
- untilex %ddrive:\EXTRAS Extras Disk
- ifnex %ddrive:\JARXXX
- swapsrc %instdir PATCH303
- untilex %instdirDATA2 PATCH303
- copy %instdirDATA4 JARXXX\JARXXX.PRG
- copy %instdirDATA5 JARXXX\JARXXX.DOC
- copy %instdirDATA6 JARXXX\JARTEST.C
- copy %instdirDATA7 JARXXX\JARTEST.PRG
- copy %instdirDATA8 JARXXX\AUTOFRST.TTP
- flush
- ifend
- echo The files on these disks are in the correct locations.|^
- Ready to begin patching the files.||Continue?
- ask Continue
- askend
- untilex %instdirDATA2 PATCH303
- gem %instdirDATA2
- dest Destination
- echo Assuming the patch completed without error,|^
- this program will now copy over any or all of the|^
- main NeoDesk 3.02 files with the 3.03 ones.||^
- At the following item selector, please choose|^
- the directory where NeoDesk 3.02 files are stored|^
- on your working copy of NeoDesk 3.02.||^
- Continue with the installation?
- ask Continue
- askend
- destsel %sdrive:\*.* Where is NeoDesk 3.02?
- swapsrc %sdrive Master Disk
- untilex %sdrive:\neodesk3\neodesk.exe Master Disk
- COPYO NEODESK3\NEODESK.EXE NEODESK.EXE
- COPYO NEODESK3\NEODESKL.RSC NEODESKL.RSC
- COPYO NEODESK3\NEODESKM.RSC NEODESKM.RSC
- COPYO NEODESK3\NEODESKH.RSC NEODESKH.RSC
- COPYO NEODESK3\ICONEDIT.RSC ICONEDIT.RSC
- COPYO NEODESK3\NEOLOAD.PRG NEOLOAD.PRG
- untilex %instdirDATA4 PATCH303
- copyo %instdirDATA4 JAR10.PRG
- flush
- echo Please select the folder which contains|^
- your AUTO folder programs. This is|^
- usually A:\AUTO\ or C:\AUTO\.||^
- Press Return to continue...
- ask Continue
- askend
- destsel %ddrive:\AUTO\*.PRG Where is your AUTO folder?
- ifnex %dpathJAR*.PRG
- echo The JARxxx program will now be installed.|^
- This program is necessary in order for NeoDesk|^
- to run.||Press Return to continue...
- ask Continue
- askend
- swapsrc %instdir PATCH303
- untilex %instdirDATA4 PATCH303
- copy %instdirDATA4 JAR10.PRG
- copy %instdirDATA8 DATA8
- flush
- ifex %dpathXBOOT.PRG
- tos %dpathDATA8 %dpathXBOOT.PRG JAR10.PRG
- ifend
- ifnex %dpathXBOOT.PRG
- tos %dpathDATA8 %dpathJAR10.PRG
- ifend
- rm %dpathDATA8
- ifend
- echo Is NeoDesk installed to run automatically?
- ask Yes|No
- button1
- swapsrc %sdrive Master Disk
- untilex %sdrive:\neodesk3\neodesk.exe Master Disk
- COPYO NEODESK3\NEOLOAD.PRG NEOLOAD.PRG
- flush
- askend
- echo Install desk accessories?
- ask Install|Skip
- button1
- echo Please select the location where your|^
- desk accessories run from. This is|^
- usually A:\ or C:\.||Press Return to continue...
- ask Continue
- askend
- destsel %ddrive:\ Desk accessory path
- swapsrc %sdrive Extras Disk
- COPYO ACC\NEOCNTRL.ACC NEOCNTRL.ACC
- COPYO ACC\NEOCNTRL.RSC NEOCNTRL.RSC
- COPYO ACC\NEOQUEUE.ACC NEOQUEUE.ACC
- COPYO ACC\NEOQ_C.RSC NEOQ_C.RSC
- COPYO ACC\NEOQ_M.RSC NEOQ_M.RSC
- button2
- rm %dpathNEOCNTRL.ACC
- rm %dpathNEOCNTRL.RSC
- rm %dpathNEOQUEUE.ACC
- rm %dpathNEOQ_C.RSC
- rm %dpathNEOQ_M.RSC
- askend
- flush
- bell
- echo Installation complete! Enjoy NeoDesk 3.03!
- pause 3
- exit
-